spring:
  application:
    name: ${"$"}{artifactId}
  cloud:
    nacos:
      discovery:
        server-addr: ${"$"}{NACOS_HOST:nacos-server}:${"$"}{NACOS_PORT:8848}
        namespace: ${"$"}{namespace}
        metadata:
          management.context-path: ${"$"}{management.endpoints.web.base-path:/actuator}
          health.path: /health
      config:
        server-addr: ${"$"}{spring.cloud.nacos.discovery.server-addr}
        namespace: ${"$"}{spring.cloud.nacos.discovery.namespace}
        file-extension: yml
        shared-configs:
          - framework-app.${"$"}{spring.cloud.nacos.config.file-extension}
  main:
    allow-circular-references: true
dubbo:
  application:
    name: ${"$"}{artifactId}
  scan:
    base-packages: ${"$"}{groupId}
  registry:
    address: nacos://${"$"}{spring.cloud.nacos.discovery.server-addr}
    subscribe: true
    session: 6000
  provider:
    register: true
  consumer:
    retries: 2
  protocol:
    port: -1
    name: dubbo